<?php
/**
 * 404 controller
 * @package kernel_controller_error
 */
load_lib('/app/controller');
/**
 * 404 controller
 * @author pandajingjing
 * @package kernel_controller_error
 */
class error_404controller extends app_controller{

	/**
	 * 入口方法
	 */
	function doRequest(){
		$this->setData('intCurrentTime',$this->getTime());
		$this->addLog(array( 
				'URL'=>$this->getParam('DISPATCH_PARAM','server') 
		),'404log');
		$this->addHeader('HTTP/1.0 404 Not Found');
		return '/error/404';
	}
}